<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WebPolygen</title>
</head>
<body style="font: 81.25% arial, helvetica, sans-serif; color: #333; line:1; margin: 0 0 0 0;">
	<div style="min-height: 100%; position: relative;">
		<div style="height: 80px; background-color: #323336; margin: 0; padding: 0; border-bottom: 1px solid; #E5E5E5; ">
<%-- 			<img src="<%= request.getContextPath() %>/img/logo_ee.png" style="height: 50px"/> --%>
<h2 style="float: left; color: white; margin: 28px; height: 16px;">WebPolygen</h2>
		</div>
		<div style="max-width: 1000px; padding-top: 50px; margin: 0 auto;">
			<div
				style="width: 335px; float: right; margin: 0; padding: 0; border: 0; display: block; background-color: rgba(0, 0, 0, .2); background: whiteSmoke; border: 1px solid #E5E5E5">
				<div style="margin:12px 0 0; padding: 20px 25px 15px; background: whiteSmoke; ">
					<h2
						style="font-size: 16px; position: relative; margin: 0 0 1.2em; line-height: 17px"><%= (("no".equals(request.getParameter("log")))? "Access denied" : "Login") %></h2>
					<form action="j_spring_security_check" method="post">
						<p>
							<label for="j_username" style="font-weight: bold; margin: 0 0 .5em; display: block; color: #222;">Username</label> 
							<input id="j_username" name="j_username" type="text" style = "width: 100%; height: 32px; font-size: 15px;" />
						</p>
						<p>
							<label for="j_password" style="font-weight: bold; margin: 0 0 .5em; display: block; color: #222;">Password</label> 
							<input id="j_password" name="j_password" type="password" style = "width: 100%; height: 32px; font-size: 15px;"/>
						</p>
						<input style="height: 32px; font-size: 13px; color: white; background-color: #357AE8; border: 1px solid #2F5BB7; font-weight: bold; width:90px;" type="submit" value="Login" />
					</form>
				</div>
			</div>
			<div style="margin: 0 385px 0 0; padding: 0; margin: 0; display: block;">
				<h1>WebPolygen</h1>
				<p style="line-height: 20px; margin: 0 0 1em; width: 600px">WebPolygen is a free web online editor which allows you to create two dimensional grids. You are able to store all of your projects and generate triangular mesh from them. It used <a href="http://www.cs.cmu.edu/~quake/triangle.html">Triangle</a> program  for two-dimensional mesh generation and construction of Delaunay triangulations, constrained Delaunay triangulations, and Voronoï diagrams.  </p>
			</div>
		</div>
	</div>
</body>
</html>